package com.manager.mapper;

import com.manager.bean.Valuable;
import com.manager.bean.ValuableExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface ValuableMapper {
    int countByExample(ValuableExample example);

    int deleteByExample(ValuableExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Valuable record);

    int insertSelective(Valuable record);

    List<Valuable> selectByExample(ValuableExample example);

    Valuable selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Valuable record, @Param("example") ValuableExample example);

    int updateByExample(@Param("record") Valuable record, @Param("example") ValuableExample example);

    int updateByPrimaryKeySelective(Valuable record);

    int updateByPrimaryKey(Valuable record);
}